package com.ruoyi.gcgl.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车辆管理对象 sj_carservice
 * 
 * @author ruoyi
 * @date 2025-08-26
 */
public class SjCarservice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 车辆 */
    @Excel(name = "车辆")
    private String car;

    /** 派车人 */
    @Excel(name = "派车人")
    private String dispatchPeople;

    /** 驾车方式 */
    @Excel(name = "驾车方式")
    private String driverWay;

    /** 驾车人 */
    @Excel(name = "驾车人")
    private String driver;

    /** 申请部门 */
    @Excel(name = "申请部门")
    private String deptName;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startAt;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endAt;

    /** 目的地 */
    @Excel(name = "目的地")
    private String address;

    /** 用车事由 */
    @Excel(name = "用车事由")
    private String descs;

    /** 内部乘车人 */
    @Excel(name = "内部乘车人")
    private String people;

    /** 其他乘车人 */
    @Excel(name = "其他乘车人")
    private String other;

    /** 照片 */
    @Excel(name = "照片")
    private String photo;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 删除标记 0:删除 1:没删除 */
    @Excel(name = "删除标记 0:删除 1:没删除")
    private Integer deleteFlag;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createUser;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createAt;

    /** 修改人 */
    @Excel(name = "修改人")
    private String updateUser;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateAt;
    
    private String gls;
    
    public String getGls() {
		return gls;
	}

	public void setGls(String gls) {
		this.gls = gls;
	}

	public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCar(String car) 
    {
        this.car = car;
    }

    public String getCar() 
    {
        return car;
    }
    public void setDispatchPeople(String dispatchPeople) 
    {
        this.dispatchPeople = dispatchPeople;
    }

    public String getDispatchPeople() 
    {
        return dispatchPeople;
    }
    public void setDriverWay(String driverWay) 
    {
        this.driverWay = driverWay;
    }

    public String getDriverWay() 
    {
        return driverWay;
    }
    public void setDriver(String driver) 
    {
        this.driver = driver;
    }

    public String getDriver() 
    {
        return driver;
    }
    public void setDeptName(String deptName) 
    {
        this.deptName = deptName;
    }

    public String getDeptName() 
    {
        return deptName;
    }
    public void setStartAt(Date startAt) 
    {
        this.startAt = startAt;
    }

    public Date getStartAt() 
    {
        return startAt;
    }
    public void setEndAt(Date endAt) 
    {
        this.endAt = endAt;
    }

    public Date getEndAt() 
    {
        return endAt;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setDescs(String descs) 
    {
        this.descs = descs;
    }

    public String getDescs() 
    {
        return descs;
    }
    public void setPeople(String people) 
    {
        this.people = people;
    }

    public String getPeople() 
    {
        return people;
    }
    public void setOther(String other) 
    {
        this.other = other;
    }

    public String getOther() 
    {
        return other;
    }
    public void setPhoto(String photo) 
    {
        this.photo = photo;
    }

    public String getPhoto() 
    {
        return photo;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setDeleteFlag(Integer deleteFlag) 
    {
        this.deleteFlag = deleteFlag;
    }

    public Integer getDeleteFlag() 
    {
        return deleteFlag;
    }
    public void setCreateUser(String createUser) 
    {
        this.createUser = createUser;
    }

    public String getCreateUser() 
    {
        return createUser;
    }
    public void setCreateAt(Date createAt) 
    {
        this.createAt = createAt;
    }

    public Date getCreateAt() 
    {
        return createAt;
    }
    public void setUpdateUser(String updateUser) 
    {
        this.updateUser = updateUser;
    }

    public String getUpdateUser() 
    {
        return updateUser;
    }
    public void setUpdateAt(Date updateAt) 
    {
        this.updateAt = updateAt;
    }

    public Date getUpdateAt() 
    {
        return updateAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("car", getCar())
            .append("dispatchPeople", getDispatchPeople())
            .append("driverWay", getDriverWay())
            .append("driver", getDriver())
            .append("deptName", getDeptName())
            .append("startAt", getStartAt())
            .append("endAt", getEndAt())
            .append("address", getAddress())
            .append("descs", getDescs())
            .append("people", getPeople())
            .append("other", getOther())
            .append("photo", getPhoto())
            .append("status", getStatus())
            .append("deleteFlag", getDeleteFlag())
            .append("createUser", getCreateUser())
            .append("createAt", getCreateAt())
            .append("updateUser", getUpdateUser())
            .append("updateAt", getUpdateAt())
            .toString();
    }
}
